package com.atguigu.gulimall.search.service;

import com.atguigu.common.to.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * @create: 2024/8/29
 * @author: gyhe10
 * @description:
 **/

public interface ProductSaveService {
    /**
     * 上架商品，添加商品文档到 ES 中的商品索引
     * @param skuEsModels
     */
    boolean productStatusToUp(List<SkuEsModel> skuEsModels) throws IOException;
}
